﻿@{
    ViewBag.Title = "产品管理";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Query{
    <table id="queryDT">
        <tr>
            <td class="tdLable">
                产品代码:
            </td>
            <td>
                <input type="text" id="Code" fieldname="Code" class="textBox" style="width: 100px;" />
            </td>
            <td class="tdLable">
                产品名称:
            </td>
            <td>
                <input type="text" id="Name" fieldname="Name" class="textBox" style="width: 100px;" />
            </td>
            <td class="tdLable">
                规格:
            </td>
            <td>
                <input type="text" id="Specification" fieldname="Specification" class="textBox" style="width: 100px;" />
            </td>
            <td class="tdLable">
                品种:
            </td>
            <td>
                <input type="text" id="selCategoryId" />
                <input type="hidden" id="hd_CategoryId" fieldname="CategoryId" value="@Guid.Empty" />
            </td>
            <td>
                <input type="button" value="查询" class="button" onclick="QueryInfo()" />&nbsp;
                <input class="button" type="button" value="新增" onclick="AddInfo()" />
            </td>
        </tr>
    </table>
}
<div>
    <table id="list">
    </table>
</div>
<!--分页控件-->
<div id="pager">
</div>
@section Script{
    <script type="text/javascript" language="javascript">
        var getUrl = '@Url.Action("GetProductList", "Sys")';
        var getComboxDataUrl = '@Url.Action("GetProductCategoryComboxJson", "Sys")';
    </script>
    <script src="@Url.Content("~/Scripts/App/Sys/ProductIndex.js")" type="text/javascript"></script>
}